//package Codig_Nao_Usado;
//
////package olympicgameslogic;
////
////import java.io.*;
////import java.util.StringTokenizer;
////
/////**
//// *
//// * @author 75
//// */
////public class FileParser {
////
////    private String name;
////    private String[] filesplit;
////    private String [] Nome_Diciplina_invididual = new String[30];
////    private String [] Nome_Diciplina_Team = new String[30];
////    private String Tipo_Prova = "";
////    private String[] IndivdualCountryName = new String[300];
////    private String[] individualcountry = new String[300];
////    private String[] individualscore = new String[300];
////    private String[] individualname = new String[300];
////    private String[][] Arrayindividual = new String[300][3];
////    private String[] TeamCountryName = new String[300];
////    private String[] Teamcountry = new String[300];
////    private String[] Teamscore = new String[300];
////    private String[][] Teamname = new String[300][300];
////    private String[][] ArrayTeam = new String[300][3];
////
////    public FileParser(String name) {
////        setName(name);
////    }
////
////    public void readCSVFileResultados() throws FileNotFoundException, IOException {
////        BufferedReader bread = new BufferedReader(new FileReader(getName()));
////        String strLine = "";
////        String[] var_line;
////
////        filesplit = getName().split("_");
////        //Read first line of file;
////        int type = 0;
////        int l = 0 ,c=0;
////        while ((strLine = bread.readLine()) != null) {
////            var_line = strLine.split(";");
////            for (int i = 0; i < var_line.length; i++) {
////                if (var_line[i].contains("Team")) {
////                    type = 1;
////                } else if (var_line[i].contains("Individual")) {
////                    type = 2;
////                }
////            }
////            if (type == 2) {
////                if (var_line[0].contains(" ")  && !var_line[0].trim().isEmpty()) {
////                    Nome_Diciplina_invididual[l] = var_line[0];
////                    Tipo_Prova = "Individual";
////                } else {
////                    IndivdualCountryName = var_line[1].split(",");
////                    individualname[l] = getIndivdualCountryName()[0];
////                    individualcountry[l] = getIndivdualCountryName()[1];
////                    individualscore[l] = var_line[2];
////
////                    l++;
////                }
////
////
////            } else if (type == 1 ) {
////
////                if (var_line[0].contains(" ") && !var_line[0].trim().isEmpty()) {
////                    Nome_Diciplina_Team[c] = var_line[0];
////                    Tipo_Prova = "Team";
////                } else {
////                    TeamCountryName = var_line[1].split(";");
////                    String [] auxcontry=getTeamCountryName()[0].split("\\(");
////                    Teamcountry[c]=auxcontry[0]; //Return only Countrys
////                    Teamscore[c]=var_line[2]; //returns Team's Scores
////                    String [] Aux=getTeamCountryName()[0].split("\\(");
////                    Aux[1]=Aux[1].replaceAll("\\)","");
////                    String []  TeamnameAux=Aux[1].split(",");
////                    Teamname[c][0]=Teamcountry[c];
////                    for (int i = 1; i < TeamnameAux.length; i++) {
////                       Teamname[c][i]=TeamnameAux[i-1]; //Return's Country-TeamNames
////                    }
////                    c++;
////
////            }
////        }
////     }
////          for (int i = 0; i < 3; i++) {
////             System.out.println("diciplina TEAM:  "+Nome_Diciplina_Team[i]);
////             System.out.println("diciplina INDIVI:  "+Nome_Diciplina_invididual[i]);
////        }
////       
////        //merge of all arrays
////        for (int j = 0; j < getIndividualcountry().length; j++) {
////            Arrayindividual[j][0] = getIndividualnome()[j];
////            Arrayindividual[j][1] = getIndividualcountry()[j];
////            Arrayindividual[j][2] = getIndividualscore()[j];
////        }
////
////
////
////    
////    }
////    /**
////     * @return the name
////     */
////    public String getName() {
////        return name;
////    }
////
////    /**
////     * @param name the name to set
////     */
////    public void setName(String name) {
////        this.name = name;
////    }
////    //before uncomment update java from 1.6 to 1.7
////    /*public String GetDataAnoModalidadeSexo(String tipo){
////    switch (tipo){
////    case "ano":
////    String[] ano;
////    ano= filesplit[0].split("/");
////    return ano[4];
////    break;
////    case "modalidade":
////    return filesplit[1];
////    break;
////    case "sexo":
////     *          String [] sexo;
////    sexo=filesplit[2].split(".csv");
////    return sexo[0];
////    break;
////
////    }
////
////    }*/
////
////    /**
////     * @return the Tipo_Prova
////     */
////    public String [] getDiciplinaIndividual() {
////        return Nome_Diciplina_invididual;
////    }
////
////    /**
////     * @return the countryname
////     */
////    public String[] getIndivdualCountryName() {
////        return IndivdualCountryName;
////    }
////
////    /**
////     * @return the individualcountry
////     */
////    public String[] getIndividualcountry() {
////        return individualcountry;
////    }
////
////    /**
////     * @return the individualscore
////     */
////    public String[] getIndividualscore() {
////        return individualscore;
////    }
////
////<<<<<<< .mine
////    public static LinkedList readCSVpaises () throws FileNotFoundException, IOException {
////	BufferedReader bufRdr = new BufferedReader(new FileReader("/data/IOC_Codes.csv"));
////
////	String lin;
////	String[] v = new String[2];
////	LinkedList nat = new LinkedList();
////	
////	while ((lin = bufRdr.readLine()) != null) {
////	    v = lin.split(";");
////	    if (!v[0].trim().equalsIgnoreCase("Code")) {
////		nat.add(new Nation(v[1], v[0]));		
////	    }
////	}return nat;
////    }
////=======
////    /**
////     * @return the individualnome
////     */
////    public String[] getIndividualnome() {
////        return individualname;
////    }
////
////    /**
////     * @return the indi
////     */
////    public String[][] getArrayIndividual() {
////        return Arrayindividual;
////    }
////
////    /**
////     * @return the TeamCountryName
////     */
////    public String[] getTeamCountryName() {
////        return TeamCountryName;
////    }
////
////    /**
////     * @return the Teamcountry
////     */
////    public String[] getTeamcountry() {
////        return Teamcountry;
////    }
////
////    /**
////     * @return the Teamscore
////     */
////    public String[] getTeamscore() {
////        return Teamscore;
////    }
////
////    /**
////     * @return the Teamname
////     */
////    public String[][] getTeamname() {
////        return Teamname;
////    }
////
////    /**
////     * @return the ArrayTeam
////     */
////    public String[][] getArrayTeam() {
////        return ArrayTeam;
////    }
////    /**
////     * @return the Tipo_Prova
////     */
////    public String [] getDiciplinaTeam() {
////        return Nome_Diciplina_Team;
////>>>>>>> .r101
////    }
////}
